package com.softeem.iov.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 控制记录表
 * </p>
 *
 * @author softeem
 * @since 2023-09-19
 */
@Data
public class Control implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 操作id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 操作名，例如:解锁，上锁
     */
    private String cname;

    /**
     * 操作时间
     */
    private LocalDateTime ctime;

    /**
     * 操作结果 0-成功  1-失败
     */
    private Integer result;


}
